package com.bush.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.member.entity.MemberLevelEntity;

/**
 * 会员等级
 * @author RUN
 * @date 2022-11-29
 */
public interface MemberLevelService extends IService<MemberLevelEntity> {

    public static final String BEAN_ID = "mall.memberLevelService";

    /**
     * 分页查询会员等级列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建会员等级表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveMemberLevel(MemberLevelEntity memberLevel);


    /**
     * 修改会员等级表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateMemberLevel(MemberLevelEntity memberLevel);

    /**
     * 删除指定ID的会员等级
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteMemberLevel(Long id);

}

